package cn.com.yusys.yusp.custManager.domain;

import cn.com.yusys.yusp.commons.mapper.domain.BaseDomain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 查询方案
 * @author zoie
 */
@Entity
@Table(name = "OCRM_F_CI_FQ_SSOLUTION")
public class OcrmFCiFqSsolution extends BaseDomain implements Serializable {
    @Id
    @Column(name = "ID")
    private String id;

    @Column(name = "SS_DATE")
    private Date ssDate;

    @Column(name = "SS_NAME")
    private String ssName;

    @Column(name = "SS_RESULT")
    private String ssResult;

    @Column(name = "SS_SQL")
    private String ssSql;

    @Column(name = "SS_SORT")
    private String ssSort;

    @Column(name = "SS_TYPE")
    private String ssType;

    @Column(name = "SS_USER")
    private String ssUser;

    @Column(name = "TOP_NUM")
    private BigDecimal topNum;

    @Column(name = "CREATE_ORG")
    private String createOrg;

    @Column(name = "SS_VALID_DATE")
    private Date ssValidDate;

    @Column(name = "SS_REL_REPORT")
    private String ssRelReport;

    @Column(name = "CORP_ORG_CODE")
    private String corpOrgCode;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateOrg() {
        return createOrg;
    }

    public void setCreateOrg(String createOrg) {
        this.createOrg = createOrg;
    }

    public String getCorpOrgCode() {
        return corpOrgCode;
    }

    public void setCorpOrgCode(String corpOrgCode) {
        this.corpOrgCode = corpOrgCode;
    }

    public Date getSsDate() {
        return ssDate;
    }

    public void setSsDate(Date ssDate) {
        this.ssDate = ssDate;
    }

    public Date getSsValidDate() {
        return ssValidDate;
    }

    public void setSsValidDate(Date ssValidDate) {
        this.ssValidDate = ssValidDate;
    }

    public String getSsName() {
        return ssName;
    }

    public void setSsName(String ssName) {
        this.ssName = ssName;
    }

    public String getSsSql() {
        return ssSql;
    }

    public void setSsSql(String ssSql) {
        this.ssSql = ssSql;
    }
    public String getSsResult() {
        return ssResult;
    }

    public void setSsResult(String ssResult) {
        this.ssResult = ssResult;
    }

    public String getSsSort() {
        return ssSort;
    }

    public void setSsSort(String ssSort) {
        this.ssSort = ssSort;
    }

    public String getSsType() {
        return ssType;
    }

    public void setSsType(String ssType) {
        this.ssType = ssType;
    }

    public String getSsUser() {
        return ssUser;
    }

    public void setSsUser(String ssUser) {
        this.ssUser = ssUser;
    }

    public BigDecimal getTopNum() {
        return topNum;
    }

    public void setTopNum(BigDecimal topNum) {
        this.topNum = topNum;
    }

    public String getSsRelReport() {
        return ssRelReport;
    }

    public void setSsRelReport(String ssRelReport) {
        this.ssRelReport = ssRelReport;
    }

    public OcrmFCiFqSsolution() {
    }

    public OcrmFCiFqSsolution(String id, Date ssDate, String ssName, String ssResult, String ssSql, String ssSort, String ssType, String ssUser, BigDecimal topNum, String createOrg, Date ssValidDate, String ssRelReport, String corpOrgCode) {
        this.id = id;
        this.ssDate = ssDate;
        this.ssName = ssName;
        this.ssResult = ssResult;
        this.ssSql = ssSql;
        this.ssSort = ssSort;
        this.ssType = ssType;
        this.ssUser = ssUser;
        this.topNum = topNum;
        this.createOrg = createOrg;
        this.ssValidDate = ssValidDate;
        this.ssRelReport = ssRelReport;
        this.corpOrgCode = corpOrgCode;
    }

    @Override
    public String toString() {
        return "OcrmFCiFqSsolution{" +
                "id='" + id + '\'' +
                ", ssDate=" + ssDate +
                ", ssName='" + ssName + '\'' +
                ", ssResult='" + ssResult + '\'' +
                ", ssSql='" + ssSql + '\'' +
                ", ssSort='" + ssSort + '\'' +
                ", ssType='" + ssType + '\'' +
                ", ssUser='" + ssUser + '\'' +
                ", topNum=" + topNum +
                ", createOrg='" + createOrg + '\'' +
                ", ssValidDate=" + ssValidDate +
                ", ssRelReport='" + ssRelReport + '\'' +
                ", corpOrgCode='" + corpOrgCode + '\'' +
                '}';
    }
}